/**
 * @Author Yenchingcheng
 * @Date 2023/6/2 10:42
 * @Description 模板方法类练习
 **/
public class Main {

    public static void main(String[] args) {

        BuildInfrastructure build1 = new BuildSubway();
        BuildInfrastructure build2 = new BuildAirport();
        BuildInfrastructure build3 = new BuildHighSpeedRail();

        build1.templateMethod();
        System.out.println("================");
        build2.templateMethod();
        System.out.println("================");
        build3.templateMethod();
    }

}